USE [BusSystem]
GO

/****** Object:  Table [dbo].[Bus_SecurityTraining]    Script Date: 05/24/2010 23:38:48 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Bus_SecurityTraining](
	[RecID] [int] NOT NULL,
	[DocID] [varchar](20) NOT NULL,
	[Year] [int] NOT NULL,
	[Item] [nvarchar](50) NULL,
	[TrainingContent] [nvarchar](max) NULL,
	[StudyMaterial] [nvarchar](100) NULL,
	[TrainingResult] [nvarchar](100) NULL,
	[RecDivID] [varchar](20) NULL,
	[RecAcct] [varchar](20) NULL,
	[RecDate] [smalldatetime] NULL,
	[Void] [bit] NOT NULL,
	[VoidAcct] [varchar](20) NULL,
	[VoidDate] [smalldatetime] NULL,
	[UserAcct] [varchar](20) NOT NULL,
	[LastUpdateDate] [smalldatetime] NOT NULL,
 CONSTRAINT [PK_Bus_SecurityTraining] PRIMARY KEY CLUSTERED 
(
	[DocID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[Bus_SecurityTraining] ADD  CONSTRAINT [DF_Bus_SecurityTraining_RecID]  DEFAULT ((0)) FOR [RecID]
GO

ALTER TABLE [dbo].[Bus_SecurityTraining] ADD  CONSTRAINT [DF_Bus_SecurityTraining_Void]  DEFAULT ((0)) FOR [Void]
GO


